Skip to content

855 hydrology set initial constants based on data and add references and units#857

Merged
vgro merged 13 commits intodevelopfrom
855-hydrology-set-initial-constants-based-on-data-and-add-references-and-units
Jun 3, 2025
Merged

855 hydrology set initial constants based on data and add references and units#857
vgro merged 13 commits intodevelopfrom
855-hydrology-set-initial-constants-based-on-data-and-add-references-and-units

Conversation

@vgro
Copy link
Copy Markdown
Collaborator

@vgro vgro commented May 13, 2025

This PR updates the default values for hydrology based on literature research. @lelavathy could you please check I copied everything correctly and double-check the value for air_entry_potential_inverse in you data collection; the value you suggest causes the model to crash (which might not be due to the value, I just want to be sure).

here is the documentation: https://virtual-ecosystem.readthedocs.io/en/855-hydrology-set-initial-constants-based-on-data-and-add-references-and-units/api/models/hydrology/constants.html
Fixes #855

Type of change

  • New feature (non-breaking change which adds functionality)
  • Optimization (back-end change that speeds up the code)
  • Bug fix (non-breaking change which fixes an issue)

Key checklist

  • Make sure you've run the pre-commit checks: $ pre-commit run -a
  • All tests pass: $ poetry run pytest

Further checks

  • Code is commented, particularly in hard-to-understand areas
  • Tests added that prove fix is effective or that feature works
  • Relevant documentation reviewed and updated

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.79%. Comparing base (6f36cfd) to head (d55e6a8).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #857      +/-   ##
===========================================
- Coverage    94.79%   94.79%   -0.01%     
===========================================
  Files           75       75              
  Lines         5592     5590       -2     
===========================================
- Hits          5301     5299       -2     
  Misses         291      291              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vgro vgro requested a review from lelavathy May 13, 2025 12:08
@vgro vgro requested a review from jacobcook1995 June 3, 2025 10:14
Copy link
Copy Markdown
Collaborator

@jacobcook1995 jacobcook1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vgro vgro merged commit d8c4808 into develop Jun 3, 2025
16 checks passed
@vgro vgro deleted the 855-hydrology-set-initial-constants-based-on-data-and-add-references-and-units branch June 3, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hydrology: set initial constants based on data and add references and units

3 participants